package risk.analysis;
/**
 * @author Ryu Seung Wan
 */
public class WordInDoc {

	/**
	 * 문서 번호
	 */
	private int docid;
	
	/**
	 * 문서내에서의 일련번호
	 */
	private int seq;
	
	/**
	 * 단어사전 외래키
	 */
	private int dic_seq;	
	
	/**
	 * 단어
	 */
	private String word;
	
	/**
	 * 문서내에서의 문서 시작 위치(절대값)
	 */
	private int start;

	/**
	 * 문서내에서의 문서 끝 위치(절대값)
	 */
	private int end;

	/**
	 * 문서내에서의 노출 위치 
	 * 제목 = 0
	 * 본문 = 1
	 */
	private char type;

	
	private String lan;
	
	
	private int cnt;

	/**
	 * 3 simplified stem type
	 */
	private char pos;


	private int score;
	private int word_no;
	private int cnt2;
	private String date;
	private int trd;
	private int cat_seq;
	private int index;
	private int dr_no;
	
	private String word_seq;
	private String one_word;
	private String two_word;
	private String three_word;
	private String word_type;
	
	
	public WordInDoc(){
		
	}

	public WordInDoc(String word, int start, int end, char type, String lan, char pos){
		this.word = word;
		this.start = start;
		this.end = end;
		this.type = type;
		this.lan = lan;
		this.pos = pos;
	}
	
	
	public WordInDoc(int dr_no, String word, int dic_seq, int index){
		this.dr_no = dr_no;
		this.word = word;
		this.dic_seq = dic_seq;
		this.index = index;
	}
	
	
	public WordInDoc(int word_no, String word){
		this.word_no = word_no;
		this.word = word;
	}
	
	public WordInDoc(int word_no, String word, int start, int end, char type, String lan, char pos, int trd, int cat_seq){
		this.word_no = word_no;
		this.word = word;
		this.start = start;
		this.end = end;
		this.type = type;
		this.lan = lan;
		this.pos = pos;
		this.trd = trd;
		this.cat_seq = cat_seq;
	}
	
	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getWord_no() {
		return word_no;
	}

	public void setWord_no(int wordNo) {
		word_no = wordNo;
	}

	public int getCnt2() {
		return cnt2;
	}

	public void setCnt2(int cnt2) {
		this.cnt2 = cnt2;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getTrd() {
		return trd;
	}

	public void setTrd(int trd) {
		this.trd = trd;
	}

	public int getCat_seq() {
		return cat_seq;
	}

	public void setCat_seq(int catSeq) {
		cat_seq = catSeq;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getDr_no() {
		return dr_no;
	}

	public void setDr_no(int drNo) {
		dr_no = drNo;
	}

	public String getWord_seq() {
		return word_seq;
	}

	public void setWord_seq(String wordSeq) {
		word_seq = wordSeq;
	}

	public String getOne_word() {
		return one_word;
	}

	public void setOne_word(String oneWord) {
		one_word = oneWord;
	}

	public String getTwo_word() {
		return two_word;
	}

	public void setTwo_word(String twoWord) {
		two_word = twoWord;
	}

	public String getThree_word() {
		return three_word;
	}

	public void setThree_word(String threeWord) {
		three_word = threeWord;
	}

	public String getWord_type() {
		return word_type;
	}

	public void setWord_type(String wordType) {
		word_type = wordType;
	}

	public int getDocid() {
		return docid;
	}

	public void setDocid(int docid) {
		this.docid = docid;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public int getDic_seq() {
		return dic_seq;
	}

	public void setDic_seq(int dic_seq) {
		this.dic_seq = dic_seq;
	}

	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	public char getType() {
		return type;
	}

	public void setType(char type) {
		this.type = type;
	}
	

	public String getLan() {
		return lan;
	}

	public void setLan(String lan) {
		this.lan = lan;
	}


	public int getCnt() {
		return cnt;
	}

	public void setCnt(int cnt) {
		this.cnt = cnt;
	}

	public char getPos() {
		return pos;
	}

	public void setPos(char pos) {
		this.pos = pos;
	}
	
	
	
}
